#include "../StdInc.h"

#include <boost/format.hpp>
using namespace boost;

namespace GSTrader
{
	namespace TradeBase
	{
		CExchange::CExchange() : m_nID(-1), m_strExchangeID(""), m_strExchangeName(""), m_nProviderId(-1)
		{

		}

		CExchange::~CExchange()
		{

		}

		string CExchange::ToString()
		{
			format fmt(g_language == slChinese ? Chinese::c_szFmt4 : English::c_szFmt4);
			fmt % m_strExchangeID;
			fmt % m_strExchangeName;
			return fmt.str();
		}
	}
}